const { postRequest, getRequest } = require('./request')

// 确认提现申请
const confirmWithdrewApply = (params) => postRequest('/withdrew/confirmWithdrewApply', params)
// 提现查询
const queryWithdrewApplyInfo = (params) => postRequest('/withdrew/queryWithdrewApplyInfo', params)
// 提现参数配置
const queryWithdrewConfigure = (params) => getRequest('/withdrew/queryWithdrewConfigure', params)
// 提现发送短信验证码
const sendWithdrewSmsCode = (params) => getRequest('/withdrew/sendWithdrewSmsCode', params)

module.exports = {
  confirmWithdrewApply,
  queryWithdrewApplyInfo,
  queryWithdrewConfigure,
  sendWithdrewSmsCode,
}